<script setup lang='ts'>
const users = ref([
  {
    id: 1,
    name: 'SXP_ADMIN',
    dispalyName: 'ADMIN',
    phohne: '150123215678',
    email: 'sxp_admin@gmail.com',
    role: ['管理员'],
  },
  {
    id: 2,
    name: 'liuhuacong',
    dispalyName: '刘华聪',
    phohne: '150123215678',
    email: 'jdsklfdsjf@163.com',
    role: ['售后'],
  },
  {
    id: 3,
    name: ' wangyi',
    dispalyName: '王易',
    phohne: '150123215678',
    email: 'jsdklfjdslfj@qq.com',
    role: ['售前'],
  },
  {
    id: 4,
    name: ' yingying',
    dispalyName: '尹盈',
    phohne: '150123215678',
    email: 'jsdklfjdslfj@qq.com',
    role: ['采购'],
  },
  {
    id: 5,
    name: 'xiaoqing',
    dispalyName: '萧沁',
    phohne: '150123215678',
    email: 'jsdklfjdslfj@qq.com',
    role: ['PM'],
  },
])
</script>

<template>
  <el-button type="primary" mb3>
    添加账户
  </el-button>

  <BaseTable :data="users">
    <el-table-column prop="name" label="用户名" />
    <el-table-column prop="dispalyName" label="姓名" />
    <el-table-column prop="phohne" label="电话" />
    <el-table-column prop="email" label="邮箱" />
    <el-table-column prop="role" label="角色" />
  </BaseTable>
</template>

<style scoped lang='scss'>

</style>
